﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SaveThoseNotes.Controllers;
using SaveThoseNotes.Data.Model;
using SaveThoseNotes.Models;

namespace SaveThoseNotes.Adapters.Interfaces
{
    public interface INoteAdapter
    {
        List<NoteViewModel> GetUserNotes(string userId);

        Note GetUserNote( string userId, int id);

        void AddNote(NoteViewModel model);
        void UpdateNote(int id, NoteViewModel model);
        
        void DeleteNote(int id);
    }
}
